package com.hts.spring06.utils;

import org.springframework.stereotype.Component;

import java.util.logging.Logger;

@Component
public class MathUtilsImpl implements MathUtils{
    @Override
    public Integer add(Integer a, Integer b) {
        Integer add =a+b;
        return add;
    }

    @Override
    public Integer jian(Integer a, Integer b) {
        return a-b;
    }

    @Override
    public Integer cheng(Integer a, Integer b) {
        return a*b;
    }

    @Override
    public Integer chu(Integer a, Integer b) {
        return a/b;
    }
}
